<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">

<head th:replace="header :: common_header(~{::title},~{::link})">
<title>秒到2.0综合管理后台-模板列表</title>
</head>
<body
	class="page-header-fixed page-sidebar-closed-hide-logo page-content-white">
	<!-- <div class="page-wrapper"> -->
	<div class="page-header navbar navbar-fixed-top"
		th:insert="~{index :: navbar-top}"></div>
	<div class="clearfix"></div>
	<div class="page-container">
		<div class="page-sidebar-wrapper" th:insert="~{index :: sidebar}">
		</div>
		<div class="page-content-wrapper">
			<div class="page-content">
				<!--<div class="page-bar">
					<ul class="page-breadcrumb">
						<li><a href="#">首页</a> <i class="fa fa-circle"></i></li>
						<li><a href="#">业务管理</a> <i class="fa fa-circle"></i></li>
						<li><span>模板管理</span></li>
					</ul>
				</div>-->
				<div class="content">
					<div class="portlet box grey">
						<div class="portlet-title">
							<div class="caption">
								<i class=""></i>模板管理
							</div>
							<div class="actions">
								<div class="btn-group"></div>
							</div>
						</div>
						<div class="portlet-body">
							<div class="form-horizontal">
							    <!-- <div class="col-md-10"></div>
								<div class="col-md-2 pull-right">
									<button id="addTemp" class="btn  green">添加模板  <i class="fa fa-plus"></i></button>
								</div> -->
								 <div class="table-toolbar">
                                        <div class="row">
                                            <div class="col-md-6"></div>
                                            <div class="col-md-6">
                                                <div class="btn-group pull-right">
                                                    <button id="btn_new_role" class="btn sbold green"> 添加模板
                                                        <i class="fa fa-plus"></i>
                                                    </button>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
								<form name="form1">
									<table class="table table-striped table-bordered table-hover"
										id="table_role">
										<thead>
											<tr>
												<!-- <th><input type="checkbox" class="group-checkable" /></th> -->
												<!-- <th>序号</th> -->
												<!-- <th>模板ID</th> -->
												<th>模板</th>
												<th>创建时间</th>
											<!-- 	<th>操作</th> -->
											</tr>
										</thead>
										<tbody>
										</tbody>
									</table>
								</form>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		  <!-- 新增 -->
            <div class="modal fade" id="modal_new_role" data-backdrop="static" data-keyboard="false">
                <div class="modal-dialog">
                    <div class="modal-content">
                        <div class="modal-header">
                            <button type="button" class="close" data-dismiss="modal">
                            </button>
                            <h4 class="modal-title">新建模板</h4>
                        </div>
                        <div class="modal-body">
                            <!-- 表单提交-->
                            <form action=""  id="form_role_new" class="form-horizontal">
                                <div class="form-body">
                                    <div class="alert alert-danger display-hide">
                                        您填写的信息有错误，无法提交，请检查。
                                    </div>
                                    <div class="alert alert-success display-hide">
                                        表单填写完毕，正在提交...
                                    </div>
                                    <div class="alert alert-warning display-hide">
                                        提交失败，请联系客服！
                                    </div>
                                </div>
                                <div class="form-group">
                                     <lable class="col-md-3 control-label"> <span
														class="required"> * </span>模板名称：</lable>
                                        <div class="col-md-6">
                                            <input type="text" class="form-control" name="name"  placeholder="请输入模板名称">
                                        </div>
                                    </div>
                                   
                                   
                                    <!--   <div class="form-group">
                                     <lable class="col-md-3 control-label"> <span
														class="required"> * </span>小程序模板ID：</lable>
                                        <div class="col-md-6">
                                            <input type="text" class="form-control"   name="wxTemplateId" placeholder="请输入小程序模板ID">
                                        </div>
                                    </div> -->
                                <div class="modal-footer">
                                    <button type="submit" class="btn green">提交</button>
                                    <button type="button" class="btn default" data-dismiss="modal">取消</button>
                                </div>
                            </form>
                            <!-- 表单提交-->
                        </div>
                    </div>
                </div>
            </div>
            </div>
		<div class="page-footer">
			<div class="page-footer-inner">
				2017 &copy; 秒迅科技</a>
			</div>
			<div class="scroll-to-top">
				<i class="icon-arrow-up"></i>
			</div>
		</div>
		<!-- 业务js -->
		<script th:src="@{/assets/pages/scripts/template.js}"
			type="text/javascript"></script>
</body>
</html>